<?php
 
Yii::import('zii.widgets.CPortlet');
 
class SearchBlock extends CPortlet
{
   // public $title='<span>Tìm Kiếm<span>';
 
    protected function renderContent()
    {
        echo CHtml::beginForm(array('search/search'), 'get', array('style'=> 'inline'));
        echo CHtml::textField('q', '', array('placeholder'=> 'Nhập Thông Tin','style'=>'width:160px;'));
        echo CHtml::submitButton('Go!',array('style'=>'width:30px;'));
        echo CHtml::endForm('');
    }
}